Separating Regular Languages with Two Quantifier Alternations
نویسنده
چکیده
We investigate the quantifier alternation hierarchy of first-order logic over finite words. To do so, we rely on the separation problem. For each level in the hierarchy, this problem takes two regular languages as input and asks whether there exists a formula of the level that accepts all words in the first language and no word in the second one. Usually, obtaining an algorithm that solves this problem requires a deep understanding of the level under investigation. We present such an algorithm for the level Σ3 (formulas having at most 2 alternations beginning with an existential block). We also obtain as a corollary that one can decide whether a regular language is definable by a Σ4 formula (formulas having at most 3 alternations beginning with an existential block). Keywords-First-order logic; Quantifier alternation; Regular languages; Words; Expressive power; Separation; Decidable characterizations;
منابع مشابه
A The Tale of the Quantifier Alternation Hierarchy of First-Order Logic over Words
In other words, we ask whether the input language belongs to the class of languages defined by the logic, hence the name of the problem: the F-membership problem. Having an F-membership algorithm in hand amounts to having an effective description of all regular properties that F can express. This is why obtaining a membership algorithm is viewed as the goal to strive for when trying to get a pr...
متن کاملGoing Higher in First-Order Quantifier Alternation Hierarchies on Words
We investigate quantifier alternation hierarchies in first-order logic on finite words. Levels in these hierarchies are defined by counting the number of quantifier alternations in formulas. We prove that one can decide membership of a regular language in the levels $\mathcal{B}{\Sigma}_2$ (finite boolean combinations of formulas having only one alternation) and ${\Sigma}_3$ (formulas having on...
متن کاملQuantifier Alternation in Two-Variable First-Order Logic with Successor Is Decidable
We consider the quantifier alternation hierarchy within two-variable first-order logic FO2[<, suc] over finite words with linear order and binary successor predicate. We give a single identity of omega-terms for each level of this hierarchy. This shows that for a given regular language and a non-negative integer m it is decidable whether the language is definable by a formula in FO2[<, suc] whi...
متن کاملFirst-Order Quantifiers and the Syntactic Monoid of Height Fragments of Picture Languages
We investigate the expressive power of first-order quantifications in the context of monadic second-order logic over pictures. We show that k+1 set quantifier alternations allow to define a picture language that cannot be defined using k set quantifier alternations preceded by arbitrarily many first-order quantifier alternations. The approach uses, for a given picture language L and an integer ...
متن کاملThe FO2 alternation hierarchy is decidable
We consider the two-variable fragment FO[<] of first-order logic over finite words. Numerous characterizations of this class are known. Thérien and Wilke have shown that it is decidable whether a given regular language is definable in FO[<]. From a practical point of view, as shown by Weis, FO[<] is interesting since its satisfiability problem is in NP. Restricting the number of quantifier alte...
متن کامل